-- GENERATED SPELL FOR [Guardian of Zim'Rhuk] --


function spell0_28597(pUnit, Event) --@Whammy,n/a--
pUnit:FullCastSpellOnTarget(54565,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28597', 3336, 1)
end

function Sorts_28597(pUnit, Event)
local choix_sorts_28597 = math.random(0, 0)
if choix_sorts_28597 == 0 then
pUnit:RegisterEvent('spell0_28597', 1, 1)
end
end

function mob28597_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28597', math.random(1500, 3000), 1)
end

function mob28597_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28597_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28597_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28597, 1, 'mob28597_Action')
RegisterUnitEvent(28597, 2, 'mob28597_Leave')
RegisterUnitEvent(28597, 3, 'mob28597_Kill')
RegisterUnitEvent(28597, 4, 'mob28597_Die')
